/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.renren.common.utils;

/**
 * Redis所有Keys
 *
 * @author Mark sunlightcs@gmail.com
 */
public class RedisKeys {

    public static String getSysConfigKey(String key){
        return "sys:config:" + key;
    }

    /**
     * 加油站企业redis前缀
     */
    public static String GAS_STATION_ENTERPRISE_PREFIX = "gas_station:";

    /**
     * 加油站数据总数前缀
     */
    public static String getGasStationKeyByEnterpriseCode(String enterpriseCode) {
        return GAS_STATION_ENTERPRISE_PREFIX + enterpriseCode;
    }
}
